package cn.com.dycc.sys_manage.t_class.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import cn.com.dycc.sys_manage.t_class.entity.ClassEntity;
import cn.com.dycc.sys_manage.t_class.param.ClassParam;
import cn.com.dycc.sys_manage.t_class.param.FindListClassParam;

public interface ClassService {
	
	/**
	 * 增加职务信息
	 * @param requesst HttpServletRequest request,
	 * @param classParam
	 * @return
	 * @throws NotFoundClassException
	 */
	public String addClass(HttpServletRequest request, ClassParam classParam)throws NotFoundClassException;
	
	/**
	 * 查询所有的职务信息 HttpServletRequest request,
	 * @param org_id
	 * @return
	 * @throws NotFoundClassException
	 */
	public List<ClassEntity> findClassAll(HttpServletRequest request,FindListClassParam findListClassParam)throws NotFoundClassException;
	
	/**
	 * 更新职务信息 
	 * @param request HttpServletRequest request,
	 * @param classParam
	 * @return
	 * @throws NotFoundClassException
	 */
	public String updateClass(HttpServletRequest request, ClassParam classParam)throws NotFoundClassException;
	
	/**
	 * 删除职务信息
	 * @param id
	 * @return
	 * @throws NotFoundClassException
	 */
	public String delClass(HttpServletRequest request,String id)throws NotFoundClassException;
	
	/**
	 * 查询所有的职务信息 HttpServletRequest request,统计
	 * @param org_id
	 * @return
	 * @throws NotFoundClassException
	 */
	public String findClassAllCount(HttpServletRequest request,FindListClassParam findListClassParam)throws NotFoundClassException;
	
	
	
	
}
